<?php
/*
 *author:Yangligao
 *Date:2013-10-5
 *热门排行所要调用的页面，这里的热门排行只在食品中选取
 *程序加载进去的前提是必须有FoodModel的实例,而且主文件对应的模板文件中还要加载hotsort.html文件
 */


$hotSortRes = $foodModel->food_select('food_name,food_id,food_singleprice,food_userprice',"",'limit 15','order by food_count desc');

$smarty->assign('hotSortRes',$hotSortRes);


?>
